package com.example.assetmanagement.service;

import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;

public interface AttachmentService {
    // 返回文件访问 URL
    String upload(MultipartFile file, String bizType) throws IOException;

    byte[] download(String relativePath) throws IOException;

    void delete(String relativePath) throws IOException;
} 